package com.pace.eps.service;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import com.pace.eps.service.impl.EpsPaymentFeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @auther dsl
 * @create 2020-02-19 23:59
 */
@Component
@FeignClient(value = "cloud-provider-payment", fallback = EpsPaymentFeignServiceImpl.class)
public interface EpsPaymentFeignService {
    @GetMapping(value = "/payment/zk")
    String paymentzk();

    @GetMapping(value = "/payment/feign/timeout")
    String paymentFeignTimeout();
}
